From a9a6edee459dd6eaf36ddfd5d381b5f1995b444c Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 6 Nov 2018 22:04:50 -0600 Subject: [PATCH] Add integration test --- tests/test___init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test___init__.py b/tests/test___init__.py index 3c0e666..13d92a7 100644 --- a/tests/test___init__.py +++ b/tests/test___init__.py @@ -40,6 +40,9 @@ class MockConfigurator(): pass +# Unit tests + + # pgwui_server_config() def test_pgwui_server_config(monkeypatch): @@ -58,3 +61,9 @@ def test_main(monkeypatch): result = pgwui_server_init.main({}) assert result == 'wsgi_app' + + +# Integration tests +def test_main_integrated(): + '''Does not raise errors or warnings''' + pgwui_server_init.main({}) -- 2.34.1